<?php
/**
 * Created by PhpStorm.
 * User: zhuyujun
 * Date: 2017/10/26
 * Time: 10:52
 */

namespace App\Api\Service\Routes;

use Dingo\Api\Routing\Router;


class PurchaseRoute
{
    public function map(Router $router)
    {
        $router->group(['namespace' => 'Purchase\Controllers', 'prefix' => 'purchase'], function ($router) {
            //采购单详情
            $router->any('/getPurchaseDetail','IndexController@getPurchaseDetail');

            //待采购列表
            $router->any('/getWaitPurchaseList','IndexController@getWaitPurchaseList');

            //删除待采购记录
            $router->post('/deleteWaitPurchaseLog','IndexController@deleteWaitPurchaseLog');
        });
    }

}